import { init } from 'snabbdom/build/package/init'
import { h } from 'snabbdom/build/package/h'

const patch = init([])

let vnode = h('div#container', [
  h('h1', 'hellow h1'),
  h('p', '这是一个 p')
])

let app = document.querySelector('#app')
let oldVnode = patch(app, vnode)